<#import "/freemarker/modeltype.ftl" as mt>

<table class="table table-bordered animate2 fadeInUp">
	<tr>
		<th>创建时间</th>
		<th>创建人</th>
		<th>创建机构</th>
		<th>库房是否确认</th>
		<th>归还详情(名称 数量 备注)</th>
		<th>操作</th>
	</tr>
	<#list pageBean.resultList as ret>
	<tr class="ui-widget-content">
		<td>${ret.ct?string('yyyy-MM-dd')}</td>
		<td>${ret.cn}</td>
		<td>${ret.on}</td>
		<td style="font-weight:bold; color:<#if (ret.affirm)>green<#else>red</#if>;"><@mt.YesOrNo value=((ret.affirm)!false) r=false /></td>
		<td><#if ret.itemList??>
		<#list ret.itemList as item>
		<span>${(item.gn)!''}(<font style="color:green;">${(item.count)!''}</font>)</span><br/>
		</#list>
		</#if></td>
		<td><a href="javascript:;" onclick="javascript:showTag_myReturn('${ret.code}');return false;" data-toggle="tooltip" class="btn btn-xs btn-success"><i class="icon-book"></i></a></td>
		</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_returnRecord'/>